import request from '@/utils/request'


export function list(token,data){
  return request({
    url: 'cms/page/get_select',
    method: 'post',
    params: {token},
    data
  })
}

export function del(token, page_id){
  return request({
    url: 'cms/page/delete',
    method: 'post',
    params: {token},
    data:{page_id	}
  })
}

export function add(token, data){
  return request({
    url: 'cms/page/add',
    method: 'post',
    params: {token},
    data
  })
}

export function edit(token, data){
  return request({
    url: 'cms/page/edit',
    method: 'post',
    params: {token},
    data
  })
}
